﻿using Microsoft.Practices.Composite.Modularity;
using Microsoft.Practices.Composite.Regions;
using UIComposition.Infrastructure;

namespace FXSStation.Modules.ChartModule
{
    public class ChartModule : IModule
    {
        public readonly IRegionViewRegistry regionViewRegistry;

        public ChartModule(IRegionViewRegistry registry)
        {
            this.regionViewRegistry = registry;
        }
        public void Initialize()
        {
            regionViewRegistry.RegisterViewWithRegion(RegionNames.ChartRegion, typeof(Tester));

            //regionViewRegistry.RegisterViewWithRegion("MenuRegion", typeof(MenuView));
        }
    }
}
